import Vue from 'vue'
import App from './App.vue'
import router from './router'
Vue.config.productionTip = false
import HmTabbar from './components/HmTabbar.vue'
import HmHeader from './components/HmHeader.vue'
import Vant from 'vant';
import 'vant/lib/index.css';
// 把vant中所有的组件都导入了
Vue.use(Vant)
Vue.component('HmHeader', HmHeader)
Vue.component('HmTabbar', HmTabbar)
new Vue({
  render: h => h(App),
  router
}).$mount('#app')
